package com.ruoyi.aimp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机物告警对象 aimp_thingwarn
 * 
 * @author fengfeng
 * @date 2022-06-18
 */
public class Aimp_Thingwarn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long thingwarnId;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private String thingwarnType;

    /** 检测目标 */
    @Excel(name = "检测目标")
    private String thingwarnTarget;

    /** 所属摄像头 */
    @Excel(name = "所属摄像头")
    private String thingwarnCamera;

    /** 所属位置 */
    @Excel(name = "所属位置")
    private String thingwarnArea;

    /** 摄像机位置 */
    @Excel(name = "摄像机位置")
    private String thingwarnPosition;

    /** 告警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "告警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date thingwarnTime;

    /** 全景图片服务器路径 */
    @Excel(name = "全景图片服务器路径")
    private String thingwarnImg;

    /** 视频服务器路径 */
    @Excel(name = "视频服务器路径")
    private String thingwarnVideo;

    public void setThingwarnId(Long thingwarnId) 
    {
        this.thingwarnId = thingwarnId;
    }

    public Long getThingwarnId() 
    {
        return thingwarnId;
    }
    public void setThingwarnType(String thingwarnType) 
    {
        this.thingwarnType = thingwarnType;
    }

    public String getThingwarnType() 
    {
        return thingwarnType;
    }
    public void setThingwarnTarget(String thingwarnTarget) 
    {
        this.thingwarnTarget = thingwarnTarget;
    }

    public String getThingwarnTarget() 
    {
        return thingwarnTarget;
    }
    public void setThingwarnCamera(String thingwarnCamera) 
    {
        this.thingwarnCamera = thingwarnCamera;
    }

    public String getThingwarnCamera() 
    {
        return thingwarnCamera;
    }
    public void setThingwarnArea(String thingwarnArea) 
    {
        this.thingwarnArea = thingwarnArea;
    }

    public String getThingwarnArea() 
    {
        return thingwarnArea;
    }
    public void setThingwarnPosition(String thingwarnPosition) 
    {
        this.thingwarnPosition = thingwarnPosition;
    }

    public String getThingwarnPosition() 
    {
        return thingwarnPosition;
    }
    public void setThingwarnTime(Date thingwarnTime) 
    {
        this.thingwarnTime = thingwarnTime;
    }

    public Date getThingwarnTime() 
    {
        return thingwarnTime;
    }
    public void setThingwarnImg(String thingwarnImg) 
    {
        this.thingwarnImg = thingwarnImg;
    }

    public String getThingwarnImg() 
    {
        return thingwarnImg;
    }
    public void setThingwarnVideo(String thingwarnVideo) 
    {
        this.thingwarnVideo = thingwarnVideo;
    }

    public String getThingwarnVideo() 
    {
        return thingwarnVideo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thingwarnId", getThingwarnId())
            .append("thingwarnType", getThingwarnType())
            .append("thingwarnTarget", getThingwarnTarget())
            .append("thingwarnCamera", getThingwarnCamera())
            .append("thingwarnArea", getThingwarnArea())
            .append("thingwarnPosition", getThingwarnPosition())
            .append("thingwarnTime", getThingwarnTime())
            .append("thingwarnImg", getThingwarnImg())
            .append("thingwarnVideo", getThingwarnVideo())
            .toString();
    }
}
